package top.kpromise.user.service;

import top.kpromise.user.model.response.UserLoginModel;

public interface UserLoginService {

    UserLoginModel findUser(String userId, int loginType);

    int insert(String userId, int loginType, String loginValue);

    String deleteByLoginTypeAndValue(String userId, int loginType);

    int updateByUserId(String userId, String loginValue, int loginType);

    int disableLoginType(String userId, int loginType);

    int enableLoginType(String userId, int loginType);
}
